import { getCatGoryList } from "@/api"
const state = {
    CatGorylist: []
}
const mutations = {
    setCatListStore(state, payload) {
        state.CatGorylist = payload.List
    }

}
const actions = {
    async getCatGoryListStore({ commit }) {
        let re = await getCatGoryList()
        commit('setCatListStore', { List: re })
    }
}
const getters = {}
export default {
    namespaced: true,
    state,
    mutations,
    actions,
    getters
}